package com.cmwa.solution.sys.organization.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cmwa.solution.sys.organization.dao.DeptmentRelationshipDao;
import com.cmwa.solution.sys.organization.entity.DeptmentRelationshipVo;
import com.cmwa.solution.sys.organization.service.DeptmentRelationshipService;

@Service
public class DeptmentRelationshipServiceImpl implements DeptmentRelationshipService{
	
	@Resource
	private DeptmentRelationshipDao deptmentRelationshipDao;
	
	/**
	 * 查询全部 部门
	 * @param userInfoVo
	 * @return
	 */
	public List<DeptmentRelationshipVo> queryAllDepartmentList(){
		return deptmentRelationshipDao.queryAllDepartmentList();
	}
}
